package com.technologys.ctrl;

import org.apache.shiro.SecurityUtils;
import org.springframework.stereotype.Controller;

@Controller
public class LogoutCtrl {

	public String logout() {
		SecurityUtils.getSubject().logout();
		return "redirect:login";
	}
}